package com.blq.api.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.blq.common.core.domain.PageQuery;
import com.blq.common.core.page.TableDataInfo;
import com.blq.api.domain.EvaluationBackup;
import com.blq.api.domain.Bo.EvaluationBackupBo;
import com.blq.api.domain.Vo.EvaluationBackupVo;

import java.util.Collection;
import java.util.List;

/**
 * 评价备份Service接口
 *
 * @author Blq
 * @date 2023-02-01
 */
public interface IEvaluationBackupService extends IService<EvaluationBackup> {


    /**
     * 查询评价备份
     */
    EvaluationBackupVo queryById(String evaluationId);

    /**
     * 查询评价备份列表
     */
    TableDataInfo<EvaluationBackupVo> queryPageList(EvaluationBackupBo bo, PageQuery pageQuery);

    /**
     * 查询评价备份列表
     */
    List<EvaluationBackupVo> queryList(EvaluationBackupBo bo);

    /**
     * 修改评价备份
     */
    Boolean insertByBo(EvaluationBackupBo bo);

    /**
     * 修改评价备份
     */
    Boolean updateByBo(EvaluationBackupBo bo);

    /**
     * 校验并批量删除评价备份信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
